package com.cold.demo.web.config.handlemapping;

import java.lang.reflect.Method;

/**
 * @author: zyc
 */
public class BeanAndMethod {

    private Object bean;
    private Method method;
    private String[] originalRequestUrl;
    private int sort;

    public BeanAndMethod(Object bean, Method method, String[] originalRequestUrl, int sort) {
        this.bean = bean;
        this.method = method;
        this.originalRequestUrl = originalRequestUrl;
        this.sort = sort;
    }

    public Object getBean() {
        return bean;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public String[] getOriginalRequestUrl() {
        return originalRequestUrl;
    }

    public void setOriginalRequestUrl(String[] originalRequestUrl) {
        this.originalRequestUrl = originalRequestUrl;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
